package com.project.service;

import com.project.pojo.Product;

import java.util.List;

public interface ProductService {

    boolean updateStock(int num);

    boolean updateStock2(int num);

    boolean updateStock3(int num);

    boolean deleteProduct(Long id);

    List<Product> list();

    boolean insertRedis();
}
